package com.weixin.xplore.job;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class TestJob {

    // 每隔5秒执行一次
    @Scheduled(fixedRate = 5000)
    public void run(){
        System.out.println("test job");
    }
}
